package com.zsk.shop.model.results;

import com.zsk.shop.entity.ShopGoodsSku;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 商品内容返回
 *
 * @author ljh
 * @create 2021/11/18 11:27
 */
@Data
public class ShopGoodsDetailResult {

    @ApiModelProperty(name = "goodsNo", value = "商品编号-关联sku", dataType = "String")
    private String goodsNo;

    @ApiModelProperty(name = "goodsImgs", value = "商品图片", dataType = "String")
    private String goodsImgs;

    @ApiModelProperty(name = "goodsName", value = "商品名称(20字)", dataType = "String")
    private String goodsName;

    @ApiModelProperty("vip会员礼包商品等级")
    private Integer vipLevel;

    @ApiModelProperty(name = "introduction", value = "简介(50字)", dataType = "String")
    private String introduction;

    @ApiModelProperty(name = "price", value = "单SKU商品原价格", dataType = "String")
    private String price;

    @ApiModelProperty(name = "zeroPrice", value = "零元价", dataType = "String")
    private String zeroPrice;

    @ApiModelProperty(name = "postage", value = "邮费", dataType = "String")
    private String postage;

    @ApiModelProperty(name = "vipPrice", value = "vip价格", dataType = "String")
    private String vipPrice;

    @ApiModelProperty(name = "againPrice", value = "复购价格", dataType = "String")
    private String againPrice;

    @ApiModelProperty(name = "specialPrice", value = "商品特价", dataType = "String")
    private String specialPrice;

    @ApiModelProperty(name = "saleCount", value = "销量", dataType = "Integer")
    private Integer saleCount;

    @ApiModelProperty(name = "goodsDetail", value = "商品详情", dataType = "String")
    private String goodsDetail;

    @ApiModelProperty(name = "status", value = "true-上架，false已下架", dataType = "Boolean")
    private Boolean status;

    @ApiModelProperty(name = "isCollection", value = "true-是，false 否", dataType = "Boolean")
    private Boolean isCollection = false;

    @ApiModelProperty(name = "returnPoints", value = "赠送积分", dataType = "Integer")
    private Integer returnPoints = 0;

    @ApiModelProperty(name = "skuList", value = "sku信息")
    private List<ShopGoodsSku> skuList;

    @ApiModelProperty(name = "limitBuyCount", value = "单次限制购买次数")
    private Integer limitBuyCount;

    private Integer goodsType;

    @ApiModelProperty("当前是否是购买成为会员商品")
    private Boolean isVipBuyGoods;
    @ApiModelProperty("当前是普通商品")
    private Boolean isGoods;
    @ApiModelProperty("当前是会员商品")
    private Boolean isVipGoods;
    @ApiModelProperty("当前是0元购商品")
    private Boolean isZoneGoods;

    @ApiModelProperty("当前用户是VIP用户")
    private Boolean isVip;
    @ApiModelProperty("是否填写邀请码(true 填写，false 不填写)")
    private Boolean isShow = true;
    @ApiModelProperty("当前是否有资格购买0元购商品")
    private Boolean canBuyZeroGoods;

    @ApiModelProperty("当前是否为预售商品")
    private Boolean isPreSale;
}
